package bairui.international.console.web.controller.product;

import com.lianjing.sh.spring.web.controller.enhance.tab.TabContext;

import bairui.international.console.web.controller.product.category.C_Product_Category_Tree_TreeAccess;
import bairui.international.console.web.controller.product.norms.C_Product_Norms_Page_PageAccess;
import bairui.international.console.web.controller.product.product.C_Product_Product_Page_PageAccess;
import bairui.international.console.web.controller.product.property.C_Product_Property_Page_PageAccess;

public class Tab_Product {

	public static void tab(TabContext tabContext){
		tabContext
			.add(new C_Product_Category_Tree_TreeAccess.TreeAccess.Operate(){
				@Override public String comment() {
					return "产品分类";
				}
				@Override public Object getParentId() {
					return null;
				}
			})
			.add(new C_Product_Property_Page_PageAccess.PageAccess.Operate(){
				@Override public String comment() {
					return "产品属性";
				}
			})
			.add(new C_Product_Norms_Page_PageAccess.PageAccess.Operate(){
				@Override public String comment() {
					return "酒瓶规格";
				}
			})
			.add(new C_Product_Product_Page_PageAccess.PageAccess.Operate(){
				@Override public String comment() {
					return "产品列表";
				}
			});
	}
	
}
